﻿namespace Community.CsharpSqlite.Entity
{
    /*
     ** All current savepoints are stored in a linked list starting at
     ** sqlite3.pSavepoint. The first element in the list is the most recently
     ** opened savepoint. Savepoints are added to the list by the vdbe
     ** OPCode.OP_Savepoint instruction.
     */
    //struct Savepoint {
    //  char *zName;                        /* Savepoint name (nul-terminated) */
    //  long nDeferredCons;                  /* Number of deferred fk violations */
    //  Savepoint *pNext;                   /* Parent savepoint (if any) */
    //};
    public class Savepoint
    {
        public long nDeferredCons; /* Number of deferred fk violations */
        public Savepoint pNext; /* Parent savepoint (if any) */
        public string zName; /* Savepoint name (nul-terminated) */
    };
}